{include file="header.html"}
<title>账龄查询明细</title>
<script>
    $(function () {
        $('#bdate').datepicker({changeMonth: true, changeYear: true});
        $('#edate').datepicker({changeMonth: true, changeYear: true});
    });
</script>
<div id="rightTop">
	<p>账龄查询明细</p>
	<ul class="subnav" >
		<li><a style="background: #666;color:#fff;" href="javascript:history.back()">返回</a></li>
	</ul>
</div>
<div class="tdare" style="margin-top: 5px">
	<table width="100%" cellspacing="0" class="dataTable">
		<!--{if $agings}-->
		<tr class="tatr1">
			<td width="10px"></td>
			<td style="width: 80px">结算单位</td>
			<td >应收金额</td>
			<td>已收金额</td>
			<td class="handler">操作</td>
		</tr>
		<!--{/if}-->
		<!--{foreach from=$agings item=aging}-->
		<tr class="tatr2">
			<td width="10px"></td>
			<td style="width: 80px">{$aging.BOU_Name}</td>
			<td >{$aging.YFCountPrice}</td>
			<td >{$aging.YSPrice}</td>
			<td class="handler">
				<a href="index.php?app=aging&amp;act=infomore&amp;id={$aging.UnitID}&amp;init={$aging.init}&amp;type={$type}&amp;searchType={$searchType}&amp;bdate={$bdate}&amp;edate={$edate}&amp;pageIndex={$page_info.curr_page}" >更多</a>
			</td>
		</tr>
		<!--{foreachelse}-->
		<tr class="no_data">
			<td colspan="4"><img  style="width: 20%" src="themes/mall/default/styles/default/images/n.png"></td>
		</tr>
		<!--{/foreach}-->

	</table>
	<!--{if $agings}-->{include file=page.new.html}
	<div style="margin-top: 30px"></div>
	<!--{else}-->
	<div style="margin-top: 50px"></div>
	<!--{/if}-->
</div>

